Case Statement With Aggregate Functions | V Imp Sql Interview Question